#ifndef __CAN_COMMUNICATIONS_H__
#define __CAN_COMMUNICATIONS_H__

#define left_f_id  0x01
#define left_b_id  0x02
#define left_w_id  0x03
#define right_f_id 0x04
#define right_b_id 0x05
#define right_w_id 0x06

#include "bsp_can.h"
#include "motor_ctrl.h"

extern uint8_t receive_flag[6];
extern uint8_t rec_flag0;
extern uint8_t rec_flag1;

void Set_Motor_Torque_Mode(int id);
void Set_Motor_Close_Mode(int id);
void Set_Motor_Torque(int id, float torque);

#endif
